﻿<?php
/**
 * @author: Hua Phuoc Truong
 * @created: 9:19 AM 8/4/13
 * @copyright: 2013
 * @version: 1.0
 */

include_once 'ZConfig.php';
include_once 'ZReader/model/ZMessageReader.php';

$begin = '2013-08-01';
$end = '2013-08-04';
$query = 'iphone 4s';
$language = 0;

//Language: 2 = vi, 0 = all
echo "<pre>";
$zMessage = new ZMessageReader(strtotime("01-09-2013 6:00AM"), strtotime("07-09-2013 12:00AM"), 7, $query, $language, 0, 10);
print_r($zMessage->read());
